package com.codejob.portal.dao.impl.algorithm;

import java.util.List;

import org.springframework.stereotype.Component;

import com.codejob.portal.dao.intf.HibernateDao;
import com.codejob.portal.entity.algorithm.Problem;
import com.codejob.portal.entity.project.ProjectType;

@Component
public class ProblemDaoImpl extends HibernateDao<Problem, Long> {

	public List<Problem> findSubTypeMaxValueByType(String hql) {
		return this.find(hql);
	}
	
	public List<Problem> getProblemList(String hql) {
		return this.find(hql);
	}
}
